<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<ui:composition template="../template/layout.xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<ui:param name="pageHeaderTitle" value="View doctor profile" />
	<ui:define name="content">
		<br /><br />
		<h2 style="text-align: center">#{viewDoctorProfileBean.doctor.firstName} #{viewDoctorProfileBean.doctor.lastName}</h2>
		<h3 style="text-align: center">#{viewDoctorProfileBean.doctor.spec.name}</h3>
		<div id="inner_content">
		<h:panelGrid columns="2" cellpadding="6" styleClass="viewClientGrid" columnClasses="viewClientGridColumn1, viewClientGridColumn2">

				<h:panelGroup>					
					<p:outputLabel value="Telephone: "  style="font-weight:bold"/>
				</h:panelGroup>
				<h:panelGroup>
					<h:outputText value="#{viewDoctorProfileBean.doctor.phone}" />
				</h:panelGroup>

				<h:panelGroup>					
					<p:outputLabel value="Information: "  style="font-weight:bold"/>
				</h:panelGroup>
				<h:panelGroup>
					<h:outputText value="#{viewDoctorProfileBean.doctor.desc}" styleClass="infoText" />
				</h:panelGroup>								

			</h:panelGrid>		
		</div>
	</ui:define>
</ui:composition>
</html>